package fr.aracore.domotique.zapi.model.impl;

import fr.aracore.domotique.zapi.model.Sensor;

public class AwiSensorDescriptor extends SensorDescriptor {

	@Override
	public String tag() {
		return "awi";
	}

	@Override
	public String libelle() {
		return "speed";
	}

	@Override
	public String stateDescriptionForSensor(Sensor sensor) {
		long lcLong=(long)(Double.parseDouble(sensor.value())*100);
		return lcLong+" m/s";
	}

}
